<div class="upload-box">
<form action="{%link[{%class%},{%method%},video={%id_video%}]%}" method="post" enctype="multipart/form-data">
<input type="hidden" name="upload" value="1" />
<table>
<tr>
   <td class="w100" valign="top">
      Торрент <span class="required">*</span>
   </td>
   <td>
      <input type="file" name="torrent" size="30" class="i" />
      {%error_torrent%}
   </td>
</tr>
<tr>
   <td colspan="2">
      &nbsp;
   </td>
</tr>
<tr>
   <td colspan="2" align="center">
      <input type="submit" value="Загрузить" class="b" />
   </td>
</tr>
</table>
</form>
{%succ%}
<script type="text/javascript">
$(function() {
    parent.setTorrent('{%base_url%}{%torrent%}');
    parent.tb_remove();
})
</script>
{%/succ%}
</div>